// vite.config.js
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///E:/ZLk/ZHOUYI-ADMIN/node_modules/vite/dist/node/index.js";
import vue from "file:///E:/ZLk/ZHOUYI-ADMIN/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import vueJsx from "file:///E:/ZLk/ZHOUYI-ADMIN/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import AutoImport from "file:///E:/ZLk/ZHOUYI-ADMIN/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///E:/ZLk/ZHOUYI-ADMIN/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///E:/ZLk/ZHOUYI-ADMIN/node_modules/unplugin-vue-components/dist/resolvers.js";
import ElementPlus from "file:///E:/ZLk/ZHOUYI-ADMIN/node_modules/unplugin-element-plus/dist/vite.mjs";
var __vite_injected_original_import_meta_url = "file:///E:/ZLk/ZHOUYI-ADMIN/vite.config.js";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    vueJsx(),
    AutoImport({
      imports: ["vue"],
      resolvers: [ElementPlusResolver()]
    }),
    Components({
      resolvers: [ElementPlusResolver(
        {
          // 自动使用预处理样式
          importStyle: "sass"
        }
      )],
      // 指定自定义组件位置(默认:src/components)
      dirs: ["src/components", "src/**/components"]
    })
  ],
  server: {
    // https:{
    //         key: 'key/localhost-key.pem',
    //         cert: 'key/localhost.pem',
    //     },
    //本地服务器主机名 配置后可以使用本地网络访问
    host: "0.0.0.0",
    //指定启动端口号
    port: 5005,
    //设为 true 时若端口已被占用则会直接退出，而不是尝试下一个可用端口
    strictPort: false,
    //服务器启动时自动在浏览器中打开应用程序,当此值为字符串时，会被用作 URL 的路径名
    open: false,
    proxy: {
      "/v1": {
        target: "http://localhost:3099",
        changeOrigin: true
      }
    }
  },
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url)),
      "store": fileURLToPath(new URL("src/store", __vite_injected_original_import_meta_url)),
      "utils": fileURLToPath(new URL("src/utils", __vite_injected_original_import_meta_url)),
      "libs": fileURLToPath(new URL("src/libs", __vite_injected_original_import_meta_url))
    }
  },
  css: {
    preprocessorOptions: {
      scss: {
        javascriptEnabled: true,
        additionalData: `@use "@/assets/styles/main.scss" as *;`
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFxaTGtcXFxcWkhPVVlJLUFETUlOXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJFOlxcXFxaTGtcXFxcWkhPVVlJLUFETUlOXFxcXHZpdGUuY29uZmlnLmpzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9FOi9aTGsvWkhPVVlJLUFETUlOL3ZpdGUuY29uZmlnLmpzXCI7aW1wb3J0IHtmaWxlVVJMVG9QYXRoLCBVUkx9IGZyb20gJ25vZGU6dXJsJ1xyXG5cclxuaW1wb3J0IHtkZWZpbmVDb25maWd9IGZyb20gJ3ZpdGUnXHJcbmltcG9ydCB2dWUgZnJvbSAnQHZpdGVqcy9wbHVnaW4tdnVlJ1xyXG5pbXBvcnQgdnVlSnN4IGZyb20gJ0B2aXRlanMvcGx1Z2luLXZ1ZS1qc3gnXHJcbmltcG9ydCBBdXRvSW1wb3J0IGZyb20gJ3VucGx1Z2luLWF1dG8taW1wb3J0L3ZpdGUnICAvLyBcdTRFMERcdTg5ODFcdTYyNEJcdTUyQThcdTVCRkNcdTUxNjUgdnVlXHU3Njg0XHU3NkY4XHU1MTczXHU1MUZEXHU2NTcwXHJcbmltcG9ydCBDb21wb25lbnRzIGZyb20gJ3Vuc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